import type { SkuAdd } from '../spu/type'

export interface AllData {
    code: number
    message: string
    ok: boolean
}

export interface GetSKU extends AllData {
    data: SKUData
}
export interface SKUData {
    records: SKUValue[]
    pages: number
    size: number
    total: number
}

export interface SKUValue {
    category3Id: number
    createTime: string
    id: number
    isSale: number
    price: number
    skuAttrValueList: null
    skuDefaultImg: string
    skuDesc: string
    skuImageList: null
    skuName: string
    skuSaleAttrValueList: null
    spuId: number
    tmId: number
    updateTime: string
}

export interface SKUData extends AllData {
    data: SkuAdd
}
